<template>
  <div class="index">
    <router-view></router-view>
    <van-tabbar v-model="active">
      <van-tabbar-item @click="$router.push('/myindex/index')" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item @click="$router.push('/myindex/baobaotuan')" icon="search">爆爆团</van-tabbar-item>
      <van-tabbar-item @click="$router.push('/myindex/dingdan')" icon="friends-o">订单</van-tabbar-item>
      <van-tabbar-item @click="$router.push('/myindex/wode')" icon="setting-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style>
</style>